package com.jinmdz.fmis.api.api.model.coldstorage;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.common.constant.EValidateCode;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;

/**
 * 加载全部请求数据
 *
 * @author LiCongLu
 * @date 2020-02-16 11:26
 */
@ApiModel(value = "加载全部请求数据", description = "加载全部请求数据")
public class ColdStorageAllData extends BaseBean {
    /**
     * 冷藏主键
     */
    @AnValidate(name = "冷藏主键", code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "冷藏主键", name = "coldStorageId", position = 1)
    private Integer coldStorageId;

    /**
     * 业务编码
     */
    @AnValidate(name = "业务编码", required = true)
    @ApiModelProperty(value = "业务编码", name = "businessCode", position = 2)
    private String businessCode;

    /**
     * 字典类型编码
     */
    @AnValidate(name = "字典类型编码")
    @ApiModelProperty(value = "字典类型编码", name = "dictTypeCodes", position = 3)
    private ArrayList<String> dictTypeCodes;

    /**
     * 物品服务编码
     */
    @AnValidate(name = "物品服务编码")
    @ApiModelProperty(value = "物品服务编码", name = "serviceItemTypeCode", position = 4)
    private String serviceItemTypeCode;

    public Integer getColdStorageId() {
        return coldStorageId;
    }

    public ColdStorageAllData setColdStorageId(Integer coldStorageId) {
        this.coldStorageId = coldStorageId;
        return this;
    }

    public String getBusinessCode() {
        return businessCode;
    }

    public ColdStorageAllData setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public ArrayList<String> getDictTypeCodes() {
        return dictTypeCodes;
    }

    public ColdStorageAllData setDictTypeCodes(ArrayList<String> dictTypeCodes) {
        this.dictTypeCodes = dictTypeCodes;
        return this;
    }

    public String getServiceItemTypeCode() {
        return serviceItemTypeCode;
    }

    public ColdStorageAllData setServiceItemTypeCode(String serviceItemTypeCode) {
        this.serviceItemTypeCode = serviceItemTypeCode;
        return this;
    }
}
